package com.project.service.impl;

import com.project.bean.PostBean;
import com.project.mapper.IPostMapper;
import com.project.service.IPostService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class PostServiceImpl implements IPostService {
    @Autowired
    private IPostMapper mapper;
    @Override
    public void add(PostBean post) {
        mapper.add(post);
    }
}
